package com.pkx.cloud.fse7.dms.device.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 *
 * 门禁设备
 * @author ly
 * @since 2020-10-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("DmsDevice")
@ApiModel(value="Device对象", description="主控")
public class Device implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "设备号（机号）")
    @TableField("DevNo")
    private Long DevNo;

    @ApiModelProperty(value = "项目编号")
    @TableField("Gid")
    private String Gid;

    @ApiModelProperty(value = "设备通信类别")
    @TableField("CommType")
    private String CommType;

    @ApiModelProperty(value = "主键")
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "系列代码")
    @TableField("CollectCode")
    private String CollectCode;

    @ApiModelProperty(value = "设备类型标识码")
    @TableField("DevTypeCode")
    private String DevTypeCode;

    @ApiModelProperty(value ="设备地址")
    @TableField("DevAddr")
    private String DevAddr;

    @ApiModelProperty(value ="所属组")
    @TableField("GroupId")
    private String GroupId;

    @ApiModelProperty(value ="唯一标示")
    @TableField("Rid")
    private String Rid;

    @ApiModelProperty(value ="设备名称")
    @TableField("DevName")
    private String DevName;

    @ApiModelProperty(value ="备注")
    @TableField("Remark")
    private String Remark;


}
